package io.github.yotta.common.web.advice;

import org.springframework.http.HttpStatus;

/**
 * @author yotta
 * @date 2025/3/12 16:48
 */
public interface ResponseWrapper<T> {


    T wrapperResponse(Object body,Class<?> type);


    T wrapperErrorResponse(String msg, HttpStatus status, Exception ex);
}
